<?php

require_once '../include/common.inc.php';

if (!checkAdmin()) {
  header("LOCATION:index.php");
  exit;
}

$menu_index = 2;
$page_title = 'TABLA';
$guide_message = 'Customer | Promoter Commission | Delete';


getMyParam('cid');
$sql="select * from promoter_commission where id=$cid";
$query = $db->query($sql);
$rs = $db->fetch_array($query);

$rs['commission']=number_format($rs['commission'],2);

//Status
if($rs['status']==0){
 $status="No";
 $rs['pay_date']="";
 }
if($rs['status']==1){
 $status="Yes";
 $rs['pay_date']=date('Y-m-d',$rs['pay_date']);
 }


include_once('menu_list.php');
require_once PrintEot('a_header');
require_once PrintEot('a_c_promoter_commission_del');
require_once PrintEot('a_footer');


?>
